﻿@model tea.DB.이력서_학력

<div id="이력서학력대화상자" class="modal" tabindex="-1" role="dialog">
    <div class="modal-header">
        <a class="close" data-dismiss="modal">&times;</a>
        <h1>이력서 - 학력</h1>
    </div>

    <form id="이력서학력">
        @Html.HiddenFor(m => m.ID)
        @Html.HiddenFor(m => m.사용자ID)
        <div class="modal-body">
            <div class="form-horizontal">
                <div class="inline">구분:</div>
                @Html.DropDownListFor(m => m.구분, new SelectList(BL이력서.학력구분목록))
            </div>
            <div class="form-horizontal">
                <div class="inline">기간:</div>
                @Html.TextBoxFor(m => m.기간1, new { data_lsj_mask = "9999-99", data_lsj_validate = "required" }) ~ @Html.TextBoxFor(m => m.기간2, new { data_lsj_mask = "9999-99" })
            </div>
            <div class="form-horizontal">
                <div class="inline">국가:</div>
                @Html.TextBoxFor(m => m.국가)
            </div>
            <div class="form-horizontal">
                <div class="inline">학교명:</div>
                @Html.TextBoxFor(m => m.학교명, new { data_lsj_validate = "required" })
            </div>
            <div class="form-horizontal">
                <div class="inline">학과:</div>
                @Html.TextBoxFor(m => m.학과, new { data_lsj_validate = "required" })
            </div>
            <div class="form-horizontal">
                <div class="inline">전공:</div>
                @Html.TextBoxFor(m => m.전공)
            </div>
        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal">취소</button>
            <button class="btn btn-info" data-dismiss="modal" onclick="이력서학력_삭제()">삭제</button>
            <button class="btn btn-primary" data-dismiss="modal" onclick="이력서학력_저장()">저장</button>
        </div>
    </form>
</div>

<script type="text/javascript">
    $("div#이력서학력대화상자").modal('show');
    myInput_Init("div#이력서학력대화상자");
</script>
